package VN.EDU.IMIC.DEVELOPER.TRINHCAOSANG.BaiTapObject.Exc1;

/**
 * Created by Sang on 23/02/2016.
 */
public class Model {

    public boolean CheckData(UserData userData) {
        return userData.getUserName().equals("abc") &&
                userData.getPassWord().equals("123") ? true : false;

    }

    public boolean CheckActive(UserData userData) {
        return true;
    }
    public boolean CheckTimeRemain(UserData userData){
        return true;
    }
    public boolean CheckLocked(UserData userData){
        return true;
    }

}
